<template>
  <div id="app">
    <router-view v-if="isRouterAlive"> </router-view>
  </div>
</template>
<script>
export default {
  name: 'App',
  provide (){
    return {
      reload:this.reload
    }
  },
  data(){
    return {
      isRouterAlive:true
    }
  },
  methods:{
    reload (){
      this.isRouterAlive = false
      this.$nextTick(function(){
        this.isRouterAlive = true
      })
    }
  },
}
</script>
<style lang="scss">
*{
  padding:0px;
  margin:0px;
  box-sizing:border-box;
}
html,body,#app{
   width:100%;
   height:100%;
}
body .el-table th.gutter{
  display: table-cell!important;  
}
</style>
